5aeec3
@@ -1127,7 +1127,7 @@
public class Bytes implements Comparable<Bytes> {
    * @return the short value
    */
   public static short toShort(byte[] bytes) {
-    return toShortUnsafe(bytes, 0);
+    return toShort(bytes, 0, SIZEOF_SHORT);
   }
 
   /**
